#ifndef UILABEL_H_
#define UILABEL_H_

#include "UIElement.h"
#include <string>

namespace Lame3d
{
	class UILabel : public UIElement
	{
		public:
			UILabel(const std::string &name, const Point2d &loc, const Point2d &size, const std::string &text = "Unset Text", bool wrap = true);
			~UILabel();
			
			enum TextStyle
			{
				LIGHT,
				DARK
			};
			
			const std::string& Text() const;
			void Text(const std::string &t);
			
			bool Wrap() const;
			void Wrap(bool b);
			
			TextStyle Style() const;
			void Style(TextStyle t);
			
		protected:
			std::string text;
			bool wrap;
			TextStyle style;
	};
}

#endif /*UILABEL_H_*/
